AutoPilot
AutoPilot is a Rust port of the Python C extension AutoPy, a simple, cross-platform GUI automation library for Python. For more information, see the README on that repo.
Currently supported on macOS, Windows, and X11 with the XTest extension.
Examples
The following will move the mouse across the screen as a sine wave:
extern crate autopilot;
extern crate rand;
use Rng;
const TWO_PI: f64 = PI * 2.0;
This will enter the keys from the string "Hello, world!" and then prompt an alert with the same text:
extern crate autopilot;
License
This project is licensed under either the Apache-2.0 or MIT license, at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.